Skip to content

rewrite GUI in customtkinter with live preview + threaded processing#3

Open
K144U wants to merge 3 commits into
LISPEM:mainfrom
K144U:main
Open

rewrite GUI in customtkinter with live preview + threaded processing#3
K144U wants to merge 3 commits into
LISPEM:mainfrom
K144U:main

Conversation

@K144U
Copy link
Copy Markdown

@K144U K144U commented Apr 19, 2026

  • three-pane layout: controls, matplotlib preview, progress/log panel
  • refactor loadfiles4CIE into pure functions (no Qt, no sys.exit); callers drive progress + error reporting via callbacks
  • fix white_point.csv + illuminants.csv to resolve relative to their module so the app works regardless of cwd (and when frozen)
  • add ColorLab.spec so pyinstaller can bundle everything into a single double-clickable .exe
  • drop PyQt5 dependency

- three-pane layout: controls, matplotlib preview, progress/log panel
- refactor loadfiles4CIE into pure functions (no Qt, no sys.exit); callers drive progress + error reporting via callbacks
- fix white_point.csv + illuminants.csv to resolve relative to their module so the app works regardless of cwd (and when frozen)
- add ColorLab.spec so pyinstaller can bundle everything into a single double-clickable .exe
- drop PyQt5 dependency
Copy link
Copy Markdown
Author

@K144U K144U left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi , i am just trying to make it less confusing

K144U added 2 commits April 23, 2026 16:22
- controls panel now uses askopenfilenames instead of askdirectory, so users can multi-select .csv/.xls/.xlsx/.txt files from anywhere
- ProcessingParams carries a list of filepaths; process_batch iterates it directly
- added normalize_columns so common header variants ("wavelength (nm)", "abs", "%t", etc.) are accepted
- added .xlsx support (pd.read_excel engine); openpyxl pinned in requirements
- loadfiles4CIE: fan out files with one Wavelength + multiple numeric
  columns into per-column single-spectrum frames before they hit CIElab.
  Existing single-spectrum files are unaffected.
- CIE_XYZ: when Transmission max > 1.5, divide by 100 so 0-100 %T inputs
  produce the same fractional values that absorbance and AIPS branches do.
- gitignore: ignore *.xls/*.xlsx so user spectra inputs don't get tracked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant